<template>
    <fieldset>
        <legend>朋友</legend>
        <h3>1</h3>
        <h3>3</h3>
        <h3>2</h3>
    </fieldset>
</template>
<script>
    export default{
        props:['id'],
        mounted(){
            console.log(this.$route.params);
            console.log(this.id);
        },
        watch:{
            $route(newVal){
                console.log(newVal);
            },
            id(newVal){
                console.log('id-',newVal);
            }
            
        }
    }
</script>